package com.b3434.Service;

import com.b3434.Bean.Parameter;

import java.util.List;

/**
 * Created by Lee on 2017/4/21 0021.
 */
public class BlackListService {
    Parameter parameter;
    List<String> blackList;
    public BlackListService(Parameter parameter) {
        this.parameter = parameter;
        blackList = parameter.getBlackList();
    }

    public boolean checkFiledInBlackList(String filed) {
        if (blackList.contains(filed)) {
            return false;
        }
        return true;
    }
}
